﻿@model NewProject.Models.Post

@if (User.Identity.IsAuthenticated)
{

      <span>Rate: </span>
        <div class="ratting-item" data-pid="@Model.PostID">

            <input class="rating" name="vote" type="radio" value="1" />
            <input class="rating" name="vote" type="radio" value="2" />
            <input class="rating" name="vote" type="radio" value="3" />
            <input class="rating" name="vote" type="radio" value="4" />
            <input class="rating" name="vote" type="radio" value="5" />
        
            </div>
        <span class="result"></span>
        <br />
       
            <textarea class="review-comment" data-pid="@Model.PostID">

            </textarea>
        <br />
    <div class="post-review" data-pid="@Model.PostID">
        <div class="btn btn-default">Post &raquo;</div>
    </div>

}
else
{
    <p>Please <a href="Account/Login">Login</a> to access this feature</p>
}
